//
//  AfterPostController.m
//  DIYCityKorea
//
//  Created by 훈준 박 on 10. 4. 27..
//  Copyright 2010 __MyCompanyName__. All rights reserved.
//

#import "AfterPostController.h"
#import "DIYCityKoreaAppDelegate.h"

@implementation AfterPostController

- (void)viewDidLoad {
	[self.navigationController.navigationBar setHidden:YES];
	
	NSTimer *timer = [[NSTimer scheduledTimerWithTimeInterval:1.5f
													   target:self
													 selector:@selector(gotoRootView)
													 userInfo:nil
													  repeats:NO]
					  retain];
	[[NSRunLoop currentRunLoop] addTimer:timer forMode:NSDefaultRunLoopMode];
    [super viewDidLoad];
}

- (void)gotoRootView {
	[self.navigationController.navigationBar setHidden:YES];
	[self.navigationController popToRootViewControllerAnimated:YES];;
}

- (void)didReceiveMemoryWarning {
	// Releases the view if it doesn't have a superview.
    [super didReceiveMemoryWarning];
	
	// Release any cached data, images, etc that aren't in use.
}

- (void)viewDidUnload {
	// Release any retained subviews of the main view.
	// e.g. self.myOutlet = nil;
}


- (void)dealloc {
    [super dealloc];
}


@end
